#include <iostream>
#include "../../include/tcpServer/SearchServer.h"
#include "../../include/Configuration.h"
#include "../../include/mylog.h"



using namespace std;
int main()
{
    // 一启动就会创建Log类和config类。
    Configuration* pConf = Configuration::getInstance("../conf/searchSever.conf"); 

    mylog::Mylogger::getInstance("root");
    SearchServer server(*pConf);
    cout << "sever init" << endl;
    server.start();
    return 0;
}

